<template>
  <div id="waterQuality">
    <div class="dataAllBorder01">
      <div class="dataAllBorder02" id="map_title_innerbox">
        <div class="map_title_box">
          <div class="map_title_innerbox">
            <div class="analysis">空间分析数据</div>
          </div>
          <div >
            <select id="selLayer" style="width:100px;">
              <option value="">水质点位</option>
            </select>
          </div>
        </div>
        <scrollgridlist _tmplitem="3" :gridlist="tableData">
          <scrollgridcolumn _tmplitem="3" prop="id" lable="点位编号"> </scrollgridcolumn>
          <scrollgridcolumn _tmplitem="3" prop="address" lable="位置"> </scrollgridcolumn>
          <scrollgridcolumn _tmplitem="3" prop="content" lable="实时数据"> </scrollgridcolumn>
          <scrollgridcolumn _tmplitem="3" prop="operate" lable="操作"> </scrollgridcolumn>
        </scrollgridlist>
      </div>

      <div class="dataAllBorder02" id="map_title_innerbox1" style="display: none; position: relative;">
        <div class="map_title_box">
          <div class="map_title_innerbox">
            <div class="map_title" style="background-image: url(../assets/img/second_title.png);">警告周边污染条件扫描</div>
          </div>
        </div>
        <ul class="tab_msg_box">
          <li class="tab_msg tab_msg01 tab_msg_current">附近污染源</li>
          <li class="tab_msg tab_msg02">临近商户</li>
        </ul>
        <div class="table1">
          <table id="table1" style="width: 100%"></table>
        </div>
        <div class="table2" style=" display: none;">
          <table id="table2" style="width: 100%;"></table>
        </div>
      </div>

    </div>
  </div>
</template>

<script>

import scrollgridlist from "_c/scrollgridlist/index.vue";
import scrollgridcolumn from "_c/scrollgridlist/scrollgridcolumn.vue";
export default {
  data() {
    return {
      tableData: [
          {id: '1', address: '上海市普陀区金沙江路 1518 弄', content: 'xxxxxxxx', operate: '历史记录'},
          {id: '2', address: '上海市普陀区金沙江路 1518 弄', content: 'xxxxxxxx', operate: '历史记录'},
          {id: '3', address: '上海市普陀区金沙江路 1518 弄', content: 'xxxxxxxx', operate: '历史记录'},
          {id: '4', address: '上海市普陀区金沙江路 1518 弄', content: 'xxxxxxxx', operate: '历史记录'},
          {id: '5', address: '上海市普陀区金沙江路 1518 弄', content: 'xxxxxxxx', operate: '历史记录'},
          {id: '6', address: '上海市普陀区金沙江路 1518 弄', content: 'xxxxxxxx', operate: '历史记录'},
          {id: '7', address: '上海市普陀区金沙江路 1518 弄', content: 'xxxxxxxx', operate: '历史记录'},
          {id: '8', address: '上海市普陀区金沙江路 1518 弄', content: 'xxxxxxxx', operate: '历史记录'},
      ]
    };
  },
  components: {
    scrollgridlist,
    scrollgridcolumn
  },
  mounted() {
  },
  methods: {

  }
};
</script>

<style lang="scss">
@import "../assets/scss/Security_operation.css";
#waterQuality {
  padding: 0.2rem;
  height: 5.125rem;
  min-width: 3.75rem;
  border-radius: 0.0625rem;
  .analysis{
    width: 100%;
    height: 10%;
    padding-top: 2%;
    text-align: left;
    text-indent: 0.7em;
    font-size: 16px;
    font-weight: bold;
    color: white;
  }
}
</style>